package pactera.tf.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import pactera.tf.dataobj.GroupChatMsgDO;

@Repository
@Mapper
public interface GroupChatMsgMapper {
    /**
     * 
    
     * <p>Title: InsertChatMsg</p>  
    
     * <p>Description: 插入群聊聊天记录</p>  
    
     * @param chatMsg
     */
    void insertChatMsg(GroupChatMsgDO chatMsg);
    /**
     * 
    
     * <p>Title: listAllMsg</p>  
    
     * <p>Description:显示所有群聊信息 </p>  
    
     * @param guoupId
     * @return
     */
    List<GroupChatMsgDO>  listAllMsg(String guoupId);
    /**
     * 
    
     * <p>Title: getGroupUserNickName</p>  
    
     * <p>Description:获取群内昵称 </p>  
    
     * @param sendUserId
     * @param groupId 
     * @return
     */
	String getGroupUserNickName(@Param("sendUserId")String sendUserId, @Param("groupId")String groupId);
	/**
	 * 
	
	 * <p>Title: getUserImg</p>  
	
	 * <p>Description:获取群成员头像 </p>  
	
	 * @param sendUserId
	 * @return
	 */
	String getUserImg(String sendUserId);
}	